package cn.lzj.service.User;

import cn.lzj.pojo.ProductBase;
import cn.lzj.pojo.ProductType;
import cn.lzj.pojo.User;
import org.springframework.aop.target.LazyInitTargetSource;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface ProductService {

    ProductBase getProductById(Integer productId) ;

    void addProduct(ProductBase product);

    List<ProductBase> selectProductByUserId(User user);


    void updateProduct(ProductBase product);

    List<ProductBase> selectProductByTypeId(ProductType productType);
}
